<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">


<div class="">
	<div class="page-title">
		<div class="title_left">
			<h3>用户管理</h3>
		</div>
	</div>
	<div class="clearfix"></div>

	<div class="row">
		<div class="col-md-12 col-sm-12 col-xs-12">
			<div class="x_panel">
				<div class="x_title">
					<h2>
						用户编辑 <small>新增</small>
					</h2>
					<ul class="nav navbar-right panel_toolbox">
						<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
						</li>
						<li class="dropdown"><a href="#" class="dropdown-toggle"
							data-toggle="dropdown" role="button" aria-expanded="false"><i
								class="fa fa-wrench"></i></a>
							<ul class="dropdown-menu" role="menu">
								<li><a href="#">设置 1</a></li>
								<li><a href="#">设置 2</a></li>
							</ul></li>
						<li><a class="close-link"><i class="fa fa-close"></i></a></li>
					</ul>
					<div class="clearfix"></div>
				</div>
				<div class="x_content">
					<form class="form-horizontal form-label-left input_mask">

						<div class="col-md-6 col-sm-6 col-xs-12 form-group has-feedback">
							<input type="text" class="form-control has-feedback-left" id="inputSuccess2" placeholder="First Name">
							<span class="fa fa-user form-control-feedback left" aria-hidden="true"></span>
						</div>

						<div class="col-md-6 col-sm-6 col-xs-12 form-group has-feedback">
							<input type="text" class="form-control" id="inputSuccess3" placeholder="Last Name">
							<span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
						</div>

						<div class="col-md-6 col-sm-6 col-xs-12 form-group has-feedback">
							<input type="text" class="form-control has-feedback-left" id="inputSuccess4" placeholder="Email">
							<span class="fa fa-envelope form-control-feedback left" aria-hidden="true"></span>
						</div>

						<div class="col-md-6 col-sm-6 col-xs-12 form-group has-feedback">
							<input type="text" class="form-control" id="inputSuccess5" placeholder="Phone">
							<span class="fa fa-phone form-control-feedback right" aria-hidden="true"></span>
						</div>
					</form>
					<form class="form-horizontal form-label-left" novalidate>

						<span class="section">用户信息</span>
						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="loginId">登录名 <span class="required">*</span>
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input type="text" id="loginId" name="loginId" required="required"
									th:value="${user.loginId}" data-validate-length-range="5,20" 
									class="form-control col-md-7 col-xs-12">
							</div>
						</div>
						<div class="item form-group">
							<label for="passwd" class="control-label col-md-3">密码</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input id="passwd" type="password" name="passwd"
									data-validate-length-range="6,8"
									class="form-control col-md-7 col-xs-12" required="required">
							</div>
						</div>
						<div class="item form-group">
							<label for="passwd2"
								class="control-label col-md-3 col-sm-3 col-xs-12">确认密码</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input id="passwd2" type="password" name="passwd2"
									data-validate-linked="passwd"
									class="form-control col-md-7 col-xs-12" required="required">
							</div>
						</div>
						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="userName">姓名 <span class="required">*</span>
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input type="text" id="userName" name="userName"
									th:value="${user.userName}" placeholder="姓名" data-validate-length-range="3"
									required="required" class="form-control col-md-7 col-xs-12">
							</div>
						</div>
						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="email">Email <span class="required">*</span>
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input type="email" id="email" name="email"
									th:value="${user.email}" required="required"
									class="form-control col-md-7 col-xs-12">
							</div>
						</div>
						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="email2">确认Email<span class="required">*</span>
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input type="email" id="email2" name="confirm_email"
									data-validate-linked="email" required="required"
									class="form-control col-md-7 col-xs-12">
							</div>
						</div>
						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="telephone">电话 <span class="required">*</span>
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input type="tel" id="telephone" name="phone"
									th:value="${user.phone}" required="required"
									data-validate-length-range="8,20"
									class="form-control col-md-7 col-xs-12">
							</div>
						</div>
						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="number">年龄 <span class="required">*</span>
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input type="number" id="number" name="number"
									required="required" data-validate-minmax="18,100"
									class="form-control col-md-7 col-xs-12">
							</div>
						</div>
						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="website">网站URL <span class="required">*</span>
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<input type="url" id="website" name="website"
									required="required" placeholder="www.website.com"
									class="form-control col-md-7 col-xs-12">
							</div>
						</div>


						<div class="item form-group">
							<label class="control-label col-md-3 col-sm-3 col-xs-12"
								for="textarea">备注
							</label>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<textarea id="textarea" name="textarea"
									class="form-control col-md-7 col-xs-12"></textarea>
							</div>
						</div>
						<div class="ln_solid"></div>
						<div class="form-group">
							<div class="col-md-6 col-md-offset-3">
								<button type="submit" class="btn btn-primary">取消</button>
								<button id="send" type="submit" class="btn btn-success">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>

<script >
$(function(){
	
	//init_validator();
	
})
</script>
</html>